<script src="js/jquery-1.7.2.min.js" ></script>
<script src="js/jquery.fancybox.pack.js" ></script>
<script type="text/javascript">

$(document).ready(function() {
			/*
			 *  popup for getting membership details
			 */

			$('#popup').fancybox();
			
});
</script>
<script type="text/javascript">
    
    function calculate(obj1,obj2)
    {
      //  alert("hello");
        //alert(document.getElementById("amnt").value);
        
        alert((obj1.value)*(obj2.value));
        //document.getElementById("totalpay").innerHTML=document.getElementById("person").value*document.getElementById("amnt").innerHTML;
return true;    
}
    
</script>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
   <div class="resort-list">
    <h2 class="title">Memberships Available</h2>
   <ul class="resort">
           
       <c:forEach var="mem" items="${adds}">
           <form action="mem" id="viewclient" method="post">
           
                 <div class="resort-heading">
                <h3 class="margin-0"><a href="#">Membership Name: ${mem.memtypename}</a></h3><a href="#" id="popup" class="book-now" onclick="membershipSubscribe(${mem.memid})">Subscribe</a>
                
                <div class="clearfix"></div>
                </div><!--/.resort-heading-->
                
                <div>
                	<h4 class="alignright features">Time Period : <label>${mem.timepeirod}</label> Months</h4>
                        <h4 class="alignleft features"> Fees :<input type="hidden" id="d" name="d" value="${mem.fees}"/>${mem.fees} Rs Per Person</h4>
                    <div class="clearfix"></div>
                    <h4>Benifits : ${mem.discount} Discount on Rooms & Package Booking, Free Entry in Events</h4>
                </div>
               
               <p> ${mem.description}</p>

                                     
                
           </li>
 </form>
       </c:forEach>
 
        
       </ul>
       
       </div><!--/.resort-list-->



